﻿using AutoMapper;
using WebApiThird.Entity;
using WebApiThird.Model;

namespace WebApiThird.Common
{
    public class AutoMapperProfile:Profile
    {
        public AutoMapperProfile()
        {
            CreateMap<Student, StudentRes>();
            CreateMap<StudentReq, Student>();
        }
    }
}
